home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
GAM
/
R-S
/
RoboWar 2.3.sea
/
RoboWar 2.3
/
Robots
/
Coroner1
next >
Wrap
Text File
|
1990-11-16
|
3KB
|
187 lines
# Coroner
x 260 > slowstartx faststartx ife
y 260 > slowstarty faststarty ife
1 a' store
1 b' store
Init:
50 shield' store
x 230 > a and slowx if
y 230 > b and slowy if
collision startblastem if
a b or not main2 if
init jump
slowstartx:
1 speedx' store
return
faststartx:
5 speedx' store
return
slowstarty:
1 speedy' store
return
faststarty:
5 speedy' store
return
slowx:
x 275 > stopx crawlx ife
return
slowy:
y 275 > stopy crawly ife
return
stopx:
0 speedx' store
0 a' store
return
stopy:
0 speedy' store
0 b' store
return
crawlx:
x 260 > verycrawlx modcrawlx ife
return
crawly:
y 260 > verycrawly modcrawly ife
return
verycrawlx:
1 speedx' store
return
modcrawlx:
3 speedx' store
return
verycrawly:
1 speedy' store
return
modcrawly:
3 speedy' store
return
startblastem:
330 aim' store
blastem:
range 0 > kill rotate ife
collision not checkcontinue if
energy 2 / shield' store
blastem jump
kill:
range 40 < fullpower rotate ife
return
fullpower:
energy 1 - missile' store
0 shield' store
50 missile' store
return
pounce:
energy 10 > bang if
return
bang:
energy missile' store
return
rotate:
70 aim + aim' store
return
checkcontinue:
drop
return
transition1:
drop
-10 speedy' store
repeat1:
y 40 < stop1 if
energy 2 / shield' store
repeat1 jump
stop1:
0 speedy' store
main1:
drop
175 aim' store
5 i' store
0 speedx' store
0 speedy' store
damage d' store
loop1:
range 0 > pounce smallrotate1 ife
energy 2 / shield' store
damage d ! transition2 if
loop1 jump
smallrotate1:
aim i + aim' store
aim 270 > reverse11 if
aim 180 < reverse21 if
return
reverse11:
-7 i' store
return
reverse21:
5 i' store
return
transition2:
drop
10 speedy' store
repeat2:
y 260 > stop2 if
energy 2 / shield' store
repeat2 jump
stop2:
0 speedy' store
main2:
drop
265 aim' store
5 i' store
0 speedx' store
0 speedy' store
damage d' store
loop2:
range 0 > pounce smallrotate2 ife
energy 2 / shield' store
damage d ! transition1 if
loop2 jump
smallrotate2:
aim i + aim' store
aim 352 > reverse12 if
aim 270 < reverse22 if
return
reverse12:
-7 i' store
return
reverse22:
5 i' store
return